<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src='/Public/jquery.min.js'></script>
	<script src='/Public/foundation/js/foundation.min.js'></script>
	<link rel="stylesheet" href="/Public/foundation/css/foundation.min.css">
</head>
<body>
<div class="small-2 columns">
<ul class="side-nav">
 <?php if(is_array($nav)): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U($vo['url']);?>" target='<?php echo ($vo["target"]?"_blank":null); ?>'><?php echo ($vo["mname"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
</div>
<div class="small-10 columns">

<form action="<?php echo doAddstudent;?>" method='post'>
	<table>
		<tr>
		<td>
			<table>
				<tr>
					<td>姓名</td>
					<td><input type="text" name="sname"></td>
				</tr>
				<tr>
					<td>年龄</td>
					<td><input type="text" name="age"></td>
				</tr>
				<tr>
					<td>性别</td>
					<td>
					<select name="sex" id="sex">
					<?php if(is_array($sex)): $i = 0; $__LIST__ = $sex;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo["val"]); ?>"><?php echo ($vo["val"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
					</select>
					</td>
				</tr>
				<tr>
					<td>密码</td>
					<td><input type="text" name="pwd"></td>
				</tr>
				<tr>
					<td>昵称</td>
					<td><input type="text" name="nick"></td>
				</tr>
				<tr>
					<td>手机</td>
					<td><input type="text" name="mtel"></td>
				</tr>
				<tr>
					<td>备用手机</td>
					<td><input type="text" name="btel"></td>
				</tr>
				<tr>
					<td>固话</td>
					<td><input type="text" name="ftel"></td>
				</tr>
				<tr>
					<td>头像</td>
					<td><input type="file" name="photo"></td>
				</tr>
				<tr>
					<td>锁定</td>
					<td><input type="text" name="lock"></td>
				</tr>
				<tr>
					<td>学期</td>
					<td>
					<select name="term_no" id='term_no'>
					<?php if(is_array($term_no)): $i = 0; $__LIST__ = $term_no;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo["val"]); ?>"><?php echo ($vo["val"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
					</select>
					</td>
				</tr>
				<tr>
					<td>身份证</td>
					<td><input type="text" name="id_card"></td>
				</tr>
			</table>
		</td>
		<td>
			<table>
				
				<tr>
					<td>邮箱</td>
					<td><input type="text" name="email"></td>
				</tr>
				<tr>
					<td>家庭地址</td>
					<td><input type="text" name="home_addr"></td>
				</tr>
				<tr>
					<td>现居地</td>
					<td><input type="text" name="live_addr"></td>
				</tr>
				<tr>
					<td>QQ</td>
					<td><input type="text" name="qq"></td>
				</tr>
				<tr>
					<td>毕业学院</td>
					<td><input type="text" name="school"></td>
				</tr>
				<tr>
					<td>学历</td>
					<td>
						<select name="education" id="education">
						<?php if(is_array($education)): $i = 0; $__LIST__ = $education;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo["val"]); ?>"><?php echo ($vo["val"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
						</select>
					</td>
				</tr>
				<tr>
					<td>毕业时间</td>
					<td><input type="text" name="leave_time"></td>
				</tr>
				<tr>
					<td>专业</td>
					<td><input type="text" name="major"></td>
				</tr>
				<tr>
					<td>从何处知道我</td>
					<td><input type="text" name="know_program"></td>
				</tr>
				<tr>
					<td>PHP知道多少</td>
					<td><input type="text" name="try_php"></td>
				</tr>
				<tr>
					<td>学习方式</td>
					<td><input type="text" name="learn_way"></td>
				</tr>
				<tr>
					<td>学习时间</td>
					<td><input type="text" name="learn_time"></td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
	<input class='button' type="submit" value='提交'>
	</form>
	
</div>

</body>
</html>